package cn.tedu.huntingmall.service;

import cn.tedu.huntingmall.pojo.dto.shoppingcart.ShoppingCartAddNewDTO;
import cn.tedu.huntingmall.pojo.vo.shoppingcart.ShoppingCartStandardVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@Transactional
public interface IShoppingCartService {

    Long insert(ShoppingCartAddNewDTO shoppingCartAddNewDTO);

    int delete(Long id, String username);

    List<ShoppingCartStandardVO> selectByUsername(String uesrname);

}
